/*
 * Trace.h
 *
 *  Created on: Mar 22, 2011
 *      Author: Matt Helgen
 */
#ifndef TRACE_H_
#define TRACE_H_

#include <iostream>

#define GLOBAL_TRACE_LEVEL 0

	#ifndef TRACE_LEVEL_OVERRIDE
		#define TRACE(x,y) if(x <= GLOBAL_TRACE_LEVEL) std::cout << "[" << x << "] " << __FILE__ << ":" << __LINE__ << "\t" << y << std::endl;
	#else
		#define TRACE(x,y) if(x <= TRACE_LEVEL_OVERRIDE) std::cout << "[" << x << "] " << __FILE__ << ":" << __LINE__ << "\t" << y << std::endl;
	#endif

#endif
